package ee.finenet.bronto;

import org.joda.time.DateMidnight;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {
    
    @RequestMapping("/main")
    public String initialView(Model model){
	model.addAttribute("modelAttribute", new DateMidnight());
	return "mainView";
    }
    
}
